package com.ease.integration.service;

import java.util.Map;

import com.ease.actionscript.Remoting;
import com.ease.integration.context.vo.IntegrationServiceContext;

/**
 * 对外部进来的请求进行处理,分派给相应service
 * 
 * @author nathanleewei
 * 
 */
public interface IntegrationServiceDispatcher {

	/**
	 * @param serviceIntegrationContext
	 * @return
	 */
	IntegrationServiceContext doService(IntegrationServiceContext integrationServiceContext) throws Exception;

	@Remoting(false)
	Map<String, Object> doService(String integrationServiceDefinitionKey, Map<String, Object> requestMap);
}
